﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FanaticRock.Core.Download
{
    ///<summary>下载进度。</summary>
    public class FileDownloadProgressEventArgs : EventArgs
    {
        ///<summary>下载进度。</summary>
        public double Progress { get; set; }

        ///<summary>网址来源。</summary>
        public string Uri { get; set; }

        ///<summary>文件路径。</summary>
        public string FilePath { get; set; }

        public override string ToString()
        {
            return $"FileDownloadProgressEventArgs uri {Uri} progress {Progress}";
        }

    }
}
